package com.yxw.live_vod_backend_boot.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 类目规格修改DTO类 CategorySpecificationAddDTO
 *
 * @author xiexuxin
 * @date 2023-12-06
 */
@EqualsAndHashCode(callSuper = false)
@Data
@ToString(callSuper=true)
@ApiModel(value="CategorySpecificationUpdateDTO", description="类目规格修改")
public class CategorySpecificationUpdateDTO implements Serializable {

    @NotNull(message = "规格ID不能为空")
    @ApiModelProperty("规格ID")
    private String specificationId;

    @NotBlank(message = "规格名称不能为空")
    @ApiModelProperty("规格名称")
    private String specificationName;

    @NotNull(message = "规格值不能为空")
    @ApiModelProperty("规格值")
    private String[] specificationValue;
}
